<template>
	<view>
		<gui-a-header title="用户协议"></gui-a-header>
		<mp-html :content="$u.richImg(curData.context)" />
	</view>
</template>

<script setup>
	import {
		agreementServiceSelectAll
	} from '@/api/app.js';
	
	import {
		ref,
		reactive,
		inject
	} from 'vue'
	const $u = reactive(inject('$u'))
	const curData = ref({})
	
	const loadData = () => {
		agreementServiceSelectAll().then(res => {
			if(res.code == 200) {
				curData.value = res.data;
			}
		})
	}
	
	loadData();
</script>

<style>

</style>